ComponentOne Bitmap for UWP
SetColorContexts(ColorContext[]) Method

C1.UWP.DX Assembly > C1.Util.DX.WIC Namespace > BitmapEncoder Class > SetColorContexts Method : SetColorContexts(ColorContext[]) Method
The color contexts to set for the encoder.
Sets the ColorContext objects for the encoder.
Syntax
'Declaration
 
Public Overloads Sub SetColorContexts( _
   ByVal colorContextOut() As ColorContext _
) 
public void SetColorContexts( 
   ColorContext[] colorContextOut
)

Parameters

colorContextOut
The color contexts to set for the encoder.

Return Value

If the method succeeds, it returns C1.Util.DX.HResult.Ok. Otherwise, it throws an exception.
See Also

Reference

BitmapEncoder Class
BitmapEncoder Members
Overload List